<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			div {
				background-color: red;
				width: 30%;
				height: 80px;
				color: #FFF;
				font-size: 60px;
				-webkit-transition: background-color 1s linear, color 1s linear, width 1s linear;
				-moz-transition: background-color 1s linear, color 1s linear, width 1s linear;
				-o-transition: background-color 1s linear, color 1s linear, width 1s linear;
				-transition: background-color 1s linear, color 1s linear, width 1s linear;
			}

			div:hover {
				background-color: #003366;
				color: #0F0;
				width: 100%;
			}
		</style>
	</head>
	<body>
		<div>12345</div>
	<div><script language="javascript">

	</script></div></body>
</html>
